using Table.Blo;
using Table.Dao;

namespace AutoChess.ConfigData
{
    class ModelConfig
    {
        public int HeroID{ get; set; }
        public int FashtionID{ get; set; }
        public int ModelID{ get; set; }
        public float CapsuleHeight { get; set; }
        public string ModelFile { get; set; }

        private Table.DataModel.TableSailorModel modelTable;
        public ModelConfig(int heroId,int fashtionId,int modelId)
        {
            HeroID = heroId;
            FashtionID = fashtionId;
            ModelID = modelId;
            modelTable = TableSailorModelBlo.GetTableSailorModel(ModelID);
            ModelFile = modelTable.ModelRes;
        }
    }
}